<template>
	<view>
			<view>
		      <u-notice-bar :text="text1" direction="column"></u-notice-bar>
		    </view>
		
		

		<view class="sdFormPic" @click="chooseImage('head_img')">
			<text class="title">头像</text>
			<view class="desc">
				<view class="sdFormPicAdd" :class="data.head_img!='' ? 'hide' : ''">
					<text class="iconfont icon-shangchuantupian"></text>
				</view>
				<view class="sdFormPicImg" :class="data.head_img!='' ? '' : 'hide'">
					<image class="img" :src="data.head_img" mode="aspectFill"></image>
				</view>
			</view>
		</view>
		
		<view class="sdFormItem">
			<text class="title">昵称</text>
			<view class="desc">
				<input type="text" class="srinput" placeholder="请输入" v-model="newdata.nickname" />
			</view>
		</view>
		
		<view class="sdFormItem">
			<text class="title">姓名</text>
			<view class="desc">
				<input type="text" class="srinput" placeholder="请输入" v-model="newdata.name" />
			</view>
		</view>
		
		<view class="sdFormItem">
			<text class="title">性别</text>
			<view class="desc">
				<u-radio-group v-model="newdata.sex">
					<u-radio :name="1">
						男
					</u-radio>
					<u-radio :name="2">
						女
					</u-radio>
				</u-radio-group>
			</view>
		</view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				text1: [
					'组件功能丰富，多端兼容。让您快速集成，开箱即用',
					'组件功能丰富，多端兼容。让您快速集成，开箱即用'
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">

	.sdFormItem {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 1.05rem;
		padding: 26rpx 26rpx 26rpx 0;
		border-bottom: 0.8px solid #f2f2f2;

		.desc {
			font-size: 0.88rem;
			color: #999;
		}
	}
	
	
	.sdFormPic{
		width: 100rpx;
		height: 100rpx;
		border: 0.8px solid #e4e4e4;
		border-radius: 5px;
	}
</style>
